<?php
$segment_1=$this->uri->segment(1);
$segment_2=$this->uri->segment(2);
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <?=set_base();?>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" type="image/png">
    <title><?=$webmaster_config['title'];?></title>
    <link href="css/style.css" rel="stylesheet">
    <link href="css/style-responsive.css" rel="stylesheet">
    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
    <!-- Placed js at the end of the document so the pages load faster -->
    <script src="js/jquery-1.10.2.min.js"></script>
    <script src="js/jquery-ui-1.9.2.custom.min.js"></script>
    <script src="js/jquery-migrate-1.2.1.min.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <script src="js/jquery.nicescroll.js"></script>
    <script src="js/jquery.validate.min.js"></script>
</head>

<body class="sticky-header">
<section>
    <div class="left-side sticky-left-side"><?php include('global/side.php')?></div>
    <div class="main-content" >
        <div class="header-section"><?php include('global/header.php') ?></div>
        <?php include($segment_1.'/'.$segment_2.'.php');?>
        <?php include('global/footer.php')?>
    </div>
</section>

<!--common scripts for all pages-->

<script src="js/scripts.js"></script>
<script src="js/myself/tools.js"></script>
<script src="js/myself/ad.js"></script>
</body>
</html>
